home *** CD-ROM | disk | FTP | other *** search
/ Acorn User: China / Acorn User China CD-ROM (UK) (Disc A) / Acorn User China CD-ROM (UK) (Disc A).bin / DEMON / DEVELOPER / NETCONF0.ARC / !NetConfig_Resources_AutoExec < prev    next >
Encoding:
Text File  |  1995-07-26  |  4.5 KB  |  108 lines

  1. # !TCPIPUser.AutoExec
  2. # Commands executed automatically whenever !TCPIP starts up.
  3.  
  4. @if net_provider$="Demon"
  5. finger status@gate.demon.co.uk \ XV80 YE40 YV24
  6.                                 # Display latest information about problems
  7.                                 # with Demon machines etc.
  8.  
  9. finger {node}@post.demon.co.uk \ XV80 YE24 YV24
  10.                                 # List any mail messages waiting to be
  11.                                 # delivered to you.  Demon will send them to
  12.                                 # you shortly after you connect.
  13. @else
  14. # Some providers (e.g. Demon) provide information about any problems etc.
  15. # with their service, through the 'finger' service.  E.g.
  16. #   finger status@gate.demon.co.uk
  17. # If your provider has a similar mechanism, this is a good place to put it.
  18. @endif
  19.  
  20. @if net_time_server$>""
  21. time server {{net_time_server}}
  22.                                 # Define the machine from which to get
  23.                                 # the network time.
  24.  
  25. time set
  26.                                 # Reset the Acorn's clock according to net
  27.                                 # time
  28. @endif
  29.  
  30. # Sending and receiving of mail
  31.  
  32. smtp gateway {{net_mail_server}}
  33.                                 # A machine operated by your provider used
  34.                                 # to gateway outgoing mail.  Using this
  35.                                 # gateway means you don't have to wait for
  36.                                 # smtp to check that the destination
  37.                                 # address is correct - the gateway does
  38.                                 # that later - so you spend less time
  39.                                 # on-line.  However, the gateway will
  40.                                 # mean that mail is not delivered as
  41.                                 # quickly.
  42.  
  43. smtp kick
  44.                                 # Kick outgoing mail.
  45. @if net_mail_protocol$="SMTP"
  46.                                 # Note that it's up to {{net_provider_name}} to
  47.                                 # deliver any incoming mail - nothing we do
  48.                                 # affects when that happens (which should be
  49.                                 # soon after login).
  50. @else
  51.                                 # Note that, even though we fetch mail using
  52.                                 # the POP3 protocol, outgoing mail is still
  53.                                 # sent using SMTP.
  54. @endif
  55.  
  56. @if net_mail_protocol$="POP"
  57. set pop_server {{net_mail_server}}
  58.                                 # POP3 mail server for incoming mail.
  59.  
  60. set pop_time 420
  61.                                 # Time interval (in seconds) between checks
  62.                                 # for new mail - here an arbitrary 7 minutes.
  63.  
  64. set pop_user {{net_pop_user}}
  65.                                 # Username for POP mail.
  66.  
  67. set pop_pw "{{net_pop_password}}"
  68.                                 # Password for above username.
  69.  
  70. set pop_prefix {{net_pop_prefix}}
  71.                                 # Abbreviation used to refer to the
  72.                                 # POP mail server.
  73.  
  74. pop addserver {pop_server} {pop_time} {pop_user} {pop_pw} {pop_prefix}
  75.                                 # Define the machine which handles POP
  76.                                 # mail, username, password and abbreviation,
  77.                                 # check every 7 minutes.
  78.  
  79. pop kick {pop_prefix}
  80.                                 # Receive any POP mail.
  81.  
  82. @endif
  83.  
  84. # Usenet news
  85.  
  86. set news_server {{net_news_server}}
  87.                                 # Name of news server.
  88.  
  89. set news_time 1800
  90.                                 # Time interval (in seconds) between news
  91.                                 # downloads, assuming you stay logged on for
  92.                                 # that long. Here, an arbitrary 30 minutes.
  93.  
  94. set news_prefix {{net_news_prefix}}
  95.                                 # This prefix (4 characters max) is used
  96.                                 # to start all files related to grabbing
  97.                                 # news from this server, in particular:
  98.                                 # {{net_news_prefix}}Groups List of newsgroups to fetch
  99.                                 # {{net_news_prefix}}Last   Date and time of last fetch
  100.                                 # {{net_news_prefix}}Hist   List of articles already seen
  101.  
  102. nntp addserver {news_server} {news_time} {news_prefix}
  103.                                 # Add the news server
  104.  
  105. nntp kick {news_prefix}
  106.                                 # Post any news articles you've written,
  107.                                 # then start downloading news.
  108.